﻿using System;

namespace CoreShop.Model
{
    /// <summary>
    /// 市别班次表
    /// </summary>
    public partial class corecmsfoodorderclass
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 门店Id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = true)]
        public long storeId { get; set; }

        /// <summary>
        /// 班次单号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "classNumber", IsNullable = true)]
        public String classNumber { get; set; }

        /// <summary>
        /// 操作员ID
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sysUserId", IsNullable = true)]
        public long sysUserId { get; set; }

        /// <summary>
        /// 餐段id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "marketId", IsNullable = true)]
        public Int32? marketId { get; set; }

        /// <summary>
        /// 启用日期
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "starDate")]
        public DateTime starDate { get; set; }

        /// <summary>
        /// 失效日期
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "endDate", IsNullable = true)]
        public DateTime? endDate { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "createTime", IsNullable = false)]
        public DateTime createTime { get; set; }

        /// <summary>
        /// 是班交班
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "classOff", IsNullable = true)]
        public Boolean? classOff { get; set; }

        /// <summary>
        /// 是否上传
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isUpload", IsNullable = true)]
        public Boolean? isUpload { get; set; }

        /// <summary>
        /// 钱箱金额
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "cashBoxMoney", IsNullable = true)]
        public Decimal? cashBoxMoney { get; set; }

        /// <summary>
        /// 反结账数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "settlementUn", IsNullable = true)]
        public Int32 settlementUn { get; set; } = 0;
    }
}